<extend name='common@admin/content'/>
<block name="content">
<div class="row" id="infoSwitch">
    <div class="col-md-12">
        <div class="alert alert-danger alert-dismissible" role="alert" style="border-radius:0">
            <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
            <div>尊敬的admin<span id="weather"></span></div>
        </div>
    </div>
</div>


<div class="row shortcut" id="shortcut">
    <div class="col-xs-12 col-sm-6 col-md-4 col-lg-2 ">
        <section class="panel clearfix">
            <div class="symbol shortcut-bg1"> <i class="larry-icon larry-daishenhe1" data-icon="larry-daishenhe1"></i></div>
            <div class="value">
                <a data-href="html/temp.html">
                    <h1 id="count1">10</h1>
                </a>
                <p>待审的文章</p>
            </div>
        </section>
    </div>
    <div class="col-xs-12 col-sm-6 col-md-4 col-lg-2 ">
        <section class="panel">
            <div class="symbol shortcut-bg2"> <i class="larry-icon larry-fabu2" data-icon="larry-fabu2"></i></div>
            <div class="value">
                <a data-href="html/temp.html">
                    <h1 id="count2">26</h1>
                </a>
                <p>我发布的文章</p>
            </div>
        </section>
    </div>
    <div class="col-xs-12 col-sm-6 col-md-4 col-lg-2 ">
        <section class="panel">
            <div class="symbol shortcut-bg3"> <i class="larry-icon larry-lanmuguanli" data-icon="larry-lanmuguanli"></i></div>
            <div class="value">
                <a data-href="html/temp.html">
                    <h1 id="count3">15</h1>
                </a>
                <p>网站栏目管理</p>
            </div>
        </section>
    </div>
    <div class="col-xs-12 col-sm-6 col-md-4 col-lg-2 ">
        <section class="panel">
            <div class="symbol shortcut-bg4"> <i class="larry-icon larry-kehuliebiao" data-icon="larry-kehuliebiao"></i></div>
            <div class="value">
                <a data-href="html/temp.html">
                    <h1 id="count4">60</h1>
                </a>
                <p>会员注册列表</p>
            </div>
        </section>
    </div>
    <div class="col-xs-12 col-sm-6 col-md-4 col-lg-2 ">
        <section class="panel">
            <div class="symbol shortcut-bg5"> <i class="larry-icon larry-liuyan" data-icon="larry-liuyan"></i></div>
            <div class="value">
                <a data-href="html/temp.html">
                    <h1 id="count4">105</h1>
                </a>
                <p>会员留言管理</p>
            </div>
        </section>
    </div>
    <div class="col-xs-12 col-sm-6 col-md-4 col-lg-2 ">
        <section class="panel">
            <div class="symbol shortcut-bg6"> <i class="larry-icon larry-a157" data-icon="larry-a157"></i></div>
            <div class="value">
                <a data-href="html/temp.html">
                    <h1 id="count4">10</h1>
                </a>
                <p>友链管理</p>
            </div>
        </section>
    </div>
</div>


<div class="row">
    <div class="col-lg-6">
        <section class="panel">
            <header class="panel-heading bm0">
                <span class="span-title">系统概览</span>
                <span class="tools pull-right"><a href="javascript:;" class="iconpx-chevron-down"></a></span>
            </header>
            <div class="panel-body">
                <div class="larry-table">
                    <table class="layui-table larry-table-info" >
                        <colgroup>
                            <col width="150">
                            <col>
                        </colgroup>
                        <tbody>
                        <tr>
                            <td>AdminDemo 版本</td>
                            <td>{:sysconf('app_version')}</td>
                        </tr>
                        <tr>
                            <td>ThinkPHP 版本</td>
                            <td>{$Think.const.THINK_VERSION}</td>
                        </tr>
                        <tr>
                            <td>服务器操作系统</td>
                            <td>{:php_uname('s')}</td>
                        </tr>
                        <tr>
                            <td>WEB运行环境</td>
                            <td>{:php_sapi_name()}</td>
                        </tr>
                        <tr>
                            <td>MySQL数据库版本</td>
                            <td>{$mysql_ver}</td>
                        </tr>
                        <tr>
                            <td>运行PHP版本</td>
                            <td>{:phpversion()}</td>
                        </tr>
                        <tr>
                            <td>上传大小限制</td>
                            <td>{:ini_get('upload_max_filesize')}</td>
                        </tr>
                        <tr>
                            <td>POST大小限制</td>
                            <td>{:ini_get('post_max_size')}</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </section>

        <section class="panel">
            <header class="panel-heading bm0">
                <span class="span-title">数据统计</span>
                <span class="tools pull-right"><a href="javascript:;" class="iconpx-chevron-down"></a></span>
            </header>
            <div class="panel-body larry-seo-box">
                <div class="larry-seo-stats" id="larry-seo-stats"></div>
            </div>
        </section>

        <section class="panel">
            <header class="panel-heading bm0">
                <span class="span-title">时间轴</span>
                <span class="tools pull-right"><a href="javascript:;" class="iconpx-chevron-down"></a></span>
            </header>
            <div class="panel-body larry-seo-box">
                <ul class="layui-timeline">
                    <li class="layui-timeline-item">
                        <i class="layui-icon layui-timeline-axis"></i>
                        <div class="layui-timeline-content layui-text">
                            <h3 class="layui-timeline-title">8月18日</h3>
                            <p>
                                layui 2.0 的一切准备工作似乎都已到位。发布之弦，一触即发。
                                <br>不枉近百个日日夜夜与之为伴。因小而大，因弱而强。
                                <br>无论它能走多远，抑或如何支撑？至少我曾倾注全心，无怨无悔 <i class="layui-icon"></i>
                            </p>
                        </div>
                    </li>
                    <li class="layui-timeline-item">
                        <i class="layui-icon layui-timeline-axis"></i>
                        <div class="layui-timeline-content layui-text">
                            <h3 class="layui-timeline-title">8月16日</h3>
                            <p>杜甫的思想核心是儒家的仁政思想，他有<em>“致君尧舜上，再使风俗淳”</em>的宏伟抱负。个人最爱的名篇有：</p>
                            <ul>
                                <li>《登高》</li>
                                <li>《茅屋为秋风所破歌》</li>
                            </ul>
                        </div>
                    </li>
                    <li class="layui-timeline-item">
                        <i class="layui-icon layui-timeline-axis"></i>
                        <div class="layui-timeline-content layui-text">
                            <h3 class="layui-timeline-title">8月15日</h3>
                            <p>
                                中国人民抗日战争胜利72周年
                                <br>常常在想，尽管对这个国家有这样那样的抱怨，但我们的确生在了最好的时代
                                <br>铭记、感恩
                                <br>所有为中华民族浴血奋战的英雄将士
                                <br>永垂不朽
                            </p>
                        </div>
                    </li>
                    <li class="layui-timeline-item">
                        <i class="layui-icon layui-timeline-axis"></i>
                        <div class="layui-timeline-content layui-text">
                            <div class="layui-timeline-title">过去</div>
                        </div>
                    </li>
                </ul>
            </div>
        </section>
    </div>
    <div class="col-lg-6">
        <section class="panel">
            <header class="panel-heading bm0">
                <span class="span-title">产品团队</span>
                <span class="tools pull-right"><a href="javascript:;" class="iconpx-chevron-down"></a></span>
            </header>
            <div class="panel-body">
                <div class="larry-table">
                    <table class="layui-box layui-table" >
                        <colgroup>
                            <col width="150">
                            <col>
                        </colgroup>
                        <tbody>
                        <tr>
                            <td>产品名称</td>
                            <td>AdminDemo 管理框架</td>
                        </tr>
                        <tr>
                            <td>产品研发</td>
                            <td>宝龙 <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=117384790&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:117384790:51" alt="点击这里给我发消息" title="点击这里给我发消息"/></a></td>
                        </tr>
                        <tr>
                            <td>产品DEMO体验</td>
                            <td>
                                <a target="_blank" href="http://think.7dcs.com">
                                    http://think.7dcs.com
                                </a>
                            </td>
                        </tr>
                        <tr>
                            <td>官方QQ群</td>
                            <td>
                                <a target="_blank" href="//shang.qq.com/wpa/qunwpa?idkey=0e48d21b51dd483a64531d28bdb164b32eee95249688adc5535319f8d9f669d6"><img border="0" src="//pub.idqqimg.com/wpa/images/group.png" alt="长春PHP码农交流A群" title="长春PHP码农交流A群"></a>
                            </td>
                        </tr>
                        <tr>
                            <td>BUG反馈</td>
                            <td>
                                <a target="_blank" href="//shang.qq.com/wpa/qunwpa?idkey=0e48d21b51dd483a64531d28bdb164b32eee95249688adc5535319f8d9f669d6"><img border="0" src="//pub.idqqimg.com/wpa/images/group.png" alt="长春PHP码农交流A群" title="长春PHP码农交流A群"></a>

                            </td>
                        </tr>
                        <tr>
                            <td>项目地址</td>
                            <td>
                                <a target="_blank" href="http://git.oschina.net/baolong/AdminDemo">http://git.oschina.net/baolong/AdminDemo</a>

                            </td>
                        </tr>
                        <tr>
                            <td>公司官网</td>
                            <td>
                                <a target="_blank" href="http://www.7dcs.com">
                                    http://www.7dcs.com
                                </a>
                            </td>
                        </tr>
                        <tr>
                            <td>地址</td>
                            <td>
                               ……
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </section>

        <section class="panel">
            <header class="panel-heading bm0">
                <span class="span-title">最新文档</span>
                <span class="tools pull-right"><a href="javascript:;" class="iconpx-chevron-down"></a></span>
            </header>
            <div class="panel-body">
                <form class="layui-form larry-document" action="" method="post">
                    <table class="layui-table">
                        <colgroup>
                            <col>
                            <col width="100">
                            <col width="120">
                            <col width="100">
                        </colgroup>
                        <thead>
                        <tr>
                            <th>文章标题</th>
                            <th>作者</th>
                            <th>发布时间</th>
                            <th>审核</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td><a href="#">网站优化需要分析哪些数据</a></td>
                            <td>larry</td>
                            <td>2017-03-25</td>
                            <td class="layui-form-item">
                                <input type="checkbox" name="close" lay-skin="switch" lay-text="ON|OFF">
                            </td>
                        </tr>
                        <tr>
                            <td><a href="#">网站优化需要分析哪些数据</a></td>
                            <td>larry</td>
                            <td>2017-03-25</td>
                            <td class="layui-form-item">
                                <input type="checkbox" name="close" lay-skin="switch" lay-text="ON|OFF">
                            </td>
                        </tr>
                        <tr>
                            <td><a href="#">网站优化需要分析哪些数据</a></td>
                            <td>larry</td>
                            <td>2017-03-25</td>
                            <td class="layui-form-item">
                                <input type="checkbox" name="close" lay-skin="switch" lay-text="ON|OFF">
                            </td>
                        </tr>
                        </tbody>
                    </table>

                </form>




            </div>
        </section>

        <section class="panel">
            <header class="panel-heading bm0">
                <span class="span-title">任务清单</span>
                <span class="tools pull-right"><a href="javascript:;" class="iconpx-chevron-down"></a></span>
            </header>
            <div class="panel-body">

                <ul class="sortable-list connectList agile-list">
                    <li class="warning-element">
                        加强过程管理，及时统计教育经费使用情况，做到底码清楚，
                        <div class="agile-detail">
                            <a href="#" class="pull-right btn btn-xs btn-white">标签</a>
                            <i class="fa fa-clock-o"></i> 2015.09.01
                        </div>
                    </li>
                    <li class="success-element">
                        支持财会人员的继续培训工作。
                        <div class="agile-detail">
                            <a href="#" class="pull-right btn btn-xs btn-white">标记</a>
                            <i class="fa fa-clock-o"></i> 2015.05.12
                        </div>
                    </li>
                    <li class="info-element">
                        协同教导处搞好助学金、减免教科书费的工作。
                        <div class="agile-detail">
                            <a href="#" class="pull-right btn btn-xs btn-white">标记</a>
                            <i class="fa fa-clock-o"></i> 2015.09.10
                        </div>
                    </li>
                    <li class="danger-element">
                        要求会计、出纳人员严格执行财务制度，遵守岗位职责，按时上报各种资料。
                        <div class="agile-detail">
                            <a href="#" class="pull-right btn btn-xs btn-primary">确定</a>
                            <i class="fa fa-clock-o"></i> 2015.06.10
                        </div>
                    </li>
                    <li class="warning-element">
                        做好职工公费医疗工作，按时发放门诊费。
                        <div class="agile-detail">
                            <a href="#" class="pull-right btn btn-xs btn-white">标签</a>
                            <i class="fa fa-clock-o"></i> 2015.09.09
                        </div>
                    </li>
                    <li class="warning-element">
                        有计划地把课本复习三至五遍。
                        <div class="agile-detail">
                            <a href="#" class="pull-right btn btn-xs btn-primary">确定</a>
                            <i class="fa fa-clock-o"></i> 2015.08.04
                        </div>
                    </li>
                    <li class="success-element">
                        看一本高质量的高中语法书
                        <div class="agile-detail">
                            <a href="#" class="pull-right btn btn-xs btn-white">标记</a>
                            <i class="fa fa-clock-o"></i> 2015.05.12
                        </div>
                    </li>
                    <li class="info-element">
                        选择一份较好的英语报纸，通过阅读提高英语学习效果。
                        <div class="agile-detail">
                            <a href="#" class="pull-right btn btn-xs btn-white">标记</a>
                            <i class="fa fa-clock-o"></i> 2015.09.10
                        </div>
                    </li>
                </ul>
            </div>
        </section>
    </div>
</div>
</block>
<block name="script">

<script>
    //



    require(['leoweather','layui'], function (ec) {

        var myChart = window.echarts.init(document.getElementById('larry-seo-stats'));
        var option = {
            title: {
                text: '用户访问来源',
                subtext: '纯属虚构',
                x: 'center'
            },
            tooltip: {
                trigger: 'item',
                formatter: "{a} <br/>{b} : {c} ({d}%)"
            },
            legend: {
                orient: 'vertical',
                left: 'left',
                data: ['直接访问', '邮件营销', '联盟广告', '视频广告', '搜索引擎']
            },
            series: [{
                name: '访问来源',
                type: 'pie',
                radius: '55%',
                center: ['50%', '60%'],
                data: [{
                    value: 335,
                    name: '直接访问'
                }, {
                    value: 310,
                    name: '邮件营销'
                }, {
                    value: 234,
                    name: '联盟广告'
                }, {
                    value: 135,
                    name: '视频广告'
                }, {
                    value: 1548,
                    name: '搜索引擎'
                }],
                itemStyle: {
                    emphasis: {
                        shadowBlur: 10,
                        shadowOffsetX: 0,
                        shadowColor: 'rgba(0, 0, 0, 0.5)'
                    }
                }
            }]
        };
        myChart.setOption(option);




        // $.topTool.echarts($('div[lay-echarts]'));
        window.form.render();
        $('#weather').leoweather({format:'，{时段}好！<span id="colock">现在时间是：<strong>{年}年{月}月{日}日 星期{周} {时}:{分}:{秒}</strong>，</span> <b>{城市}天气</b> {天气} {夜间气温}℃ ~ {白天气温}℃'});
    });
</script>
</block>
